package com.zhn.evsi.domain.entity.evsi;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Builder;
import lombok.Data;

import java.math.BigInteger;

@Data
@Builder
@TableName("evsi_market_record")
public class EvsiMarketRecord {

    @TableField("type_id")
    private Integer typeId;

    // sell
    @TableField("sell_quantity")
    private BigInteger sellQuantity;

    @TableField("sell_wavg")
    private Double sellWavg;

    @TableField("sell_avg")
    private Double sellAvg;

    @TableField("sell_variance")
    private Double sellVariance;

    @TableField("sell_stdDev")
    private Double sellStdDev;

    @TableField("sell_median")
    private Double sellMedian;

    @TableField("sell_fivePercent")
    private Double sellFivePercent;

    @TableField("sell_max")
    private Double sellMax;

    @TableField("sell_min")
    private Double sellMin;

    @TableField("sell_highToLow")
    private Boolean sellHighToLow;

    @TableField("sell_generated")
    private String sellGenerated;

    // buy
    @TableField("buy_quantity")
    private BigInteger buyQuantity;

    @TableField("buy_wavg")
    private Double buyWavg;

    @TableField("buy_avg")
    private Double buyAvg;

    @TableField("buy_variance")
    private Double buyVariance;

    @TableField("buy_stdDev")
    private Double buyStdDev;

    @TableField("buy_median")
    private Double buyMedian;

    @TableField("buy_fivePercent")
    private Double buyFivePercent;

    @TableField("buy_max")
    private Double buyMax;

    @TableField("buy_min")
    private Double buyMin;

    @TableField("buy_highToLow")
    private Boolean buyHighToLow;

    @TableField("buy_generated")
    private String buyGenerated;

    @TableField("create_time")
    private String createTime;


}
